package com.zyd.context;

import com.google.common.collect.Maps;

import java.util.Map;

public class HeaderContext {

    private static final ThreadLocal<Map<String, Object>> threadLocal = new ThreadLocal<Map<String, Object>>() {

        protected Map<String, Object> initialValue() {
            return Maps.newHashMap();
        }
    };

    public static Map<String, Object> get() {
        return threadLocal.get();
    }

}
